home *** CD-ROM | disk | FTP | other *** search
/ Total Network Tools 2002 / NextStepPublishing-TotalNetworkTools2002-Win95.iso / Archive / Web Server / PHP.EXE / pear / DB / tests / pgsql / 011.phpt < prev    next >
Encoding:
Text File  |  2001-02-19  |  581 b   |  20 lines

  1. --TEST--
  2. DB_pgsql transaction test
  3. --SKIPIF--
  4. <?php require "skipif.inc"; ?>
  5. --FILE--
  6. <?php
  7. require "connect.inc";
  8. require "mktable.inc";
  9. require "../transactions.inc";
  10. ?>
  11. --EXPECT--
  12. after autocommit: bing one ops=0
  13. before commit: bing one two three ops=2
  14. after commit: bing one two three ops=0
  15. before rollback: bing one two three four five ops=2
  16. after rollback: bing one two three ops=0
  17. before autocommit+rollback: bing one two three six seven ops=0
  18. after autocommit+rollback: bing one two three six seven ops=0
  19. testing that select doesn't disturbe opcount: ok
  20.